<!--
  Generated template for the NewProductPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>新品申请</ion-title>
  </ion-navbar>

</ion-header>

<ion-content padding>
  <div class="w12 bgcolor_white mt15">
    <div class="jl_form">
      <div class="jl_form_item">
        <span class="w04">物品名称：</span>
        <input placeholder="请输入物品名称" [(ngModel)]="goods_name">
      </div>
    </div>
    <div class="jl_form">
      <div class="jl_form_item">
        <span class="w04">品牌：</span>
        <ion-select [(ngModel)]="brand" interface="popover">
          <ng-container *ngFor="let item of brands ;let i = index">
            <ion-option value="{{i}}">{{item.BRANDNAME}}</ion-option>
          </ng-container>
        </ion-select>
      </div>
    </div>
    <div class="jl_form">
      <div class="jl_form_item">
        <span class="w04">类型：</span>
        <ion-select [(ngModel)]="category" interface="popover">
          <ng-container *ngFor="let item2 of categorys;let i = index">
            <ion-option value="{{i}}">{{item2.CATEGORY_NAME}}</ion-option>
          </ng-container>
        </ion-select>
      </div>
    </div>
    <div class="jl_form">
      <div class="jl_form_item">
        <span class="w04">计量单位：</span>
        <input placeholder="请输入计量单位" [(ngModel)]="JLDW">
      </div>
    </div>
    <div class="jl_form">
      <div class="jl_form_item">
        <span class="w04">备注：</span>
        <ion-textarea placeholder="备注" [(ngModel)]="BZ"></ion-textarea>
      </div>
    </div>
    <div class="jl_form">
      <div class="jl_form_item">
        <div>实物图片：</div>
        <div class="item bgcolor_white mb10">
          <image-picker class="fl up_img" [mode]="'all'"
                        [(ngModel)]="picList"
                        [upload]="true">
          </image-picker>
        </div>
      </div>
    </div>
  </div>
</ion-content>
<ion-footer>
  <div class="address_footer">
    <button class="w12 add_ljgm_btn" ion-button (click)="submit()">提交</button>
  </div>
</ion-footer>
